package com.whowantstobeanmillionaire.services;

import org.springframework.jdbc.core.namedparam.NamedParameterJdbcDaoSupport;
import play.db.DB;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-8-26
 * Time: 上午3:28
 * To change this template use File | Settings | File Templates.
 */
public class QuestionsSevice  extends NamedParameterJdbcDaoSupport {

    public QuestionsSevice() {
        this.setDataSource(DB.datasource);
    }

    public void getList(){
        this.getJdbcTemplate().execute("select * from T_USER");
    }


}
